
import 'package:flutter/material.dart';

class ListCase extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return ListView(
      children: [
        for (var i = 0; i < 10; i++)
          Container(
            margin: const EdgeInsets.all(10),
            width: double.infinity,
            height: 100,
            color: Colors.red,
            child: Text('$i'),
          ),
      ],
    );
  }
}